package com.zdb.datastructures.tree.rbt;

import java.util.TreeMap;

public class TreeMapTest {

    public static void main(String[] args) {
        TreeMap<Integer, String> treeMap = new TreeMap<>();
        int[] arr = new int[]{19, 5, 1, 12, 7, 13, 30, 35};

        for(int i : arr) {
            treeMap.put(i, "s" + i);
        }

        System.out.println(treeMap);
    }
}
